package com.insmess.speech.sdk.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class TtsResponseDto {
    private Boolean success;
    private Integer code;
    private Message message;
    private Result result;
    @Data
    public class Message {
        private String description;
    }

    @Data
    public class Result {
        private String lang;
        @JsonProperty("spk_id")
        private Integer spkId;
        private Double speed;
        private Double volume;
        @JsonProperty("sample_rate")
        private Integer sampleRate;
        private Double duration;
        @JsonProperty("save_path")
        private String savePath;
        private String audio;
    }
}
